package com.birdy.jwt.action;

//import com.birdy.dto.Response;
//import com.birdy.jwt.service.IEncryptService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;

/**
 * @author birdy
 * @date 2022/5/3 10:37 PM
 */
//@RestController
//@RequestMapping("/encrypt")
public class EncryptAction {
//    @Autowired
//    private IEncryptService encryptService;
//    @GetMapping("/md5")
//    public Response test() {
//        String password = "123456";
//        String encryptPassword = encryptService.encryptBase64Password(password);
//        System.out.println(encryptPassword);
//        System.out.println(encryptService.decryptBase64Password(encryptPassword));
//        return Response.success("success");
//    }
}
